class UsersComment < ActiveRecord::Base
  belongs_to :user
  belongs_to :comment, :class_name => "WordsComment", :foreign_key => "comment_id"
  validates_uniqueness_of :user_id, :scope => :comment_id
end